<template>
  <div>
    <h3>新建组件</h3>
  </div>
</template>
<script>
// import name from "./name";
export default {
  // components: { name},
  props: {
    value: { default: false }
  },
  watch: {
    value: {
      handler(a) {
        console.log('值改变',this.$cp(a));
      },
      deep: true
    }
  },
  data() {
    return {};
  },
  // computed() {return{}},
  created() {
    console.log('create:',this.$cp(this.value));
  },
  methods: {}
};
</script>

<style lang="less" scoped>
</style>
